package nosql.query;

import java.util.List;

import org.json.simple.JSONArray;

import nosql.MysqlConnector;
import nosql.util.ComponentScore;

/**
 * Base class for both FilterRecommender and ConditionRecommender.
 * @author yjian004
 *
 */
public abstract class Recommender {
	protected MysqlConnector connector;
	protected int type;
	
	public Recommender(MysqlConnector connector, int type){
		this.connector = connector;
		this.type = type;
	}
	
	public abstract List<ComponentScore> getScores(String[] filterProperties, JSONArray queryConditions);
}
